<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>TwinIOC-API代码示例-自定义标题</title>

    <link rel="stylesheet" href="../css/common.css" />
    <script src="../public/tgapp/TGApp.min.js"></script>
    <script src="../js/TwinIOCApp.min.js"></script>
    <script src="../js/config.js"></script>
    <script src="./index.js"></script>

    <style>
      ::selection {
        background: transparent !important;
      }

      /* 场景加载loading start */
      #mask {
        display: none;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 10;
        color: #ccc;
        font-size: 16px;
      }
      /* 场景加载loading end */

      .legends {
        top: 40%;
        padding: 0;
        display: none;
      }

      .legends li {
        width: 200px;
      }

      .legends li.active {
        background-color: #007d9d;
        border-top: 2px solid rgb(0, 42, 52);
      }
    </style>
  </head>

  <body>
    <div class="app" id="app">
      <!-- 头部 -->
      <div class="header-wrap">
        <a href="//www.twinioc.net" target="_blank">TwinIOC</a><span>-API代码示例-自定义标题</span><br />
        <span class="ctrl">&emsp;</span>
        <!-- <img src="../../image/tuguan.png" /> -->
      </div>

      <div id="mask">
        <!-- 加载Loding -->
        <div class="avw-loader">
          <section><span class="loader-112">L &nbsp; ading </span></section>
        </div>

        <!-- 进度条dom暂时不能删除，twinioc.js 会获取这个dom进行设置进度条 删除时会报错 -->
        <div class="progress-wrap" style="opacity: 0">
          <p>场景加载中...</p>
          <div class="bar-outer">
            <div class="bar-inner"></div>
          </div>
          <p class="value"></p>
        </div>
      </div>

      <!-- 场景 -->
      <div id="container"></div>

      <!-- 左侧功能按钮 -->
      <ul class="legends">
        <li onclick="onGetLocationInfoClick(this)">获取地点名称<br />添加到标题栏</li>
      </ul>

      <!-- 底部 -->
      <div class="footer-box">
        <span>基于孪易数字孪生应用开发引擎构建 https://www.twinioc.net</span>
        <span>版权所有 北京数字冰雹信息技术股份有限公司</span>
      </div>
    </div>
  </body>
</html>
<style>
  html,
  body {
    background-color: #00000000;
  }
</style>
